﻿using Microsoft.AspNetCore.Mvc;
using Volo.Abp.AspNetCore.Mvc;

namespace Volo.Abp.Extension.Web.Pages.Error.Components.Default
{
    public class StatusCodePageDefaultViewComponent : AbpViewComponent
    {
        public IViewComponentResult Invoke(int httpStatusCode)
        {
            return View("~/Pages/Error/Components/Default/Default.cshtml", httpStatusCode);
        }
    }
}
